package com.ruoyi.finance.mapper;

import com.ruoyi.finance.domain.AccountsPayable;

import java.util.List;

/**
 * 应付账款Mapper接口
 * 
 * @author liuyu
 * @date 2024-10-28
 */
public interface AccountsPayableMapper 
{
    /**
     * 查询应付账款
     * 
     * @param id 应付账款主键
     * @return 应付账款
     */
    public AccountsPayable selectAccountsPayableById(Long id);

    /**
     * 查询应付账款列表
     * 
     * @param accountsPayable 应付账款
     * @return 应付账款集合
     */
    public List<AccountsPayable> selectAccountsPayableList(AccountsPayable accountsPayable);

    /**
     * 新增应付账款
     * 
     * @param accountsPayable 应付账款
     * @return 结果
     */
    public int insertAccountsPayable(AccountsPayable accountsPayable);

    /**
     * 修改应付账款
     * 
     * @param accountsPayable 应付账款
     * @return 结果
     */
    public int updateAccountsPayable(AccountsPayable accountsPayable);

    /**
     * 删除应付账款
     * 
     * @param id 应付账款主键
     * @return 结果
     */
    public int deleteAccountsPayableById(Long id);

}
